using Oracle.ManagedDataAccess.Client;

namespace OracleInternal.ConnectionPool
{
	internal interface IOraclePoolResource
	{
		void Connect(ConnectionString cs, bool bOpenEndUserSession, OracleConnection connRefForCriteria, string instanceName = null);

		void AttachServerProcess(long sessionFlags, bool bUseDRCPMultiTag, ref long s2cSessionFlags);

		void DetachServerProcess(string drcpTagName, bool bUseDRCPMultiTag);

		void DisConnect(OracleConnection connRefForCriteria);
	}
}
